←Select platform

ReadBarcode(RasterImage,LeadRect,BarcodeSymbology[]) Method

Summary
For information about this method please see ReadBarcode.

Syntax
C#
Objective-C
C++/CLI
Python
- (nullable LTBarcodeData *)readBarcode:(LTRasterImage *)image searchBounds:(LeadRect)searchBounds symbologies:(nullable NSArray<NSNumber *> *)symbologies error:(NSError **)error NS_SWIFT_NOTHROW; 
def ReadBarcode(self,image,searchBounds,] symbologies): 

Parameters

image
A RasterImage object that contains the image data. Must not be null.

searchBounds
A LeadRect that specifies the region of interest area in the image where the barcode search and detection is performed. Specify empty rectangle to indicate that the search must be performed on the whole image.

symbologies
An array of BarcodeSymbology enumeration members that specifies the barcode symbologies (types) to search for.

Return Value

An instance of BarcodeData or one of its derived classes that contains the symbology, data, location and any rotation angle of the barcode found. If no barcodes can be found, then this method will return null.

Requirements

Target Platforms

Help Version 22.0.2023.5.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Barcode Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.